package com.zt.student.service;

import com.zt.common.pojo.homework.Homework;
import com.zt.student.dto.HomeworkWithClassDTO;
import com.zt.student.dto.HomeworkDTO;

import javax.servlet.http.HttpServletRequest;
import java.util.List;

/**
 * description:
 * author:zt
 * date:2022-02-12
 */
public interface HomeworkService {

    List<HomeworkDTO> getByClassId(HttpServletRequest request,int classId);

    List<HomeworkWithClassDTO> getBySemester(HttpServletRequest request, String semester);

    Homework getByHomeworkId(int homeworkId);
}
